package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Orders {
    private String id;

    private String uId;

    private String aId;//广告id

    private String donationId;//生成的捐赠id

    private String tId;//主题id

    private String expressId;//物流单号

    private String expressName;//物流名称

    private String title;//冗余保存的商品标题

    private String sellerId;//卖家id

    private BigDecimal deposit;

    private BigDecimal amount;

    private BigDecimal donationAmount;

    private Integer offerCount;

    private String contact;

    private String phone;

    private BigDecimal refund;//退款金额

    private Integer refundCount;

    private List<String> reasons;//退款原因

    private String address;

    private Date expiryDate;

    private Integer type;

    private Integer status;

    private Integer sendStatus;//发货状态

    private Integer refundStatus;//退款状态（退款的类型）

    private Integer buyerDeleteFlag;

    private Integer sellerDeleteFlag;

    private Date updated;

    private Date created;

    private User user;

    private Advertisement advertisement;

    private Topic topic;


    public Orders(String id, String uId, String aId, String donationId, String tId, String title, String sellerId, BigDecimal deposit, BigDecimal amount, BigDecimal donationAmount, String expressId, String expressName, String contact, String phone, BigDecimal refund, Integer refundCount, List reasons, String address, Integer offerCount, Date expiryDate, Integer type, Integer status, Integer sendStatus, Integer refundStatus, Integer buyerDeleteFlag, Integer sellerDeleteFlag, Date updated, Date created) {
        this.id = id;
        this.uId = uId;
        this.aId = aId;
        this.donationId = donationId;
        this.tId = tId;
        this.title = title;
        this.sellerId = sellerId;
        this.deposit = deposit;
        this.amount = amount;
        this.donationAmount = donationAmount;
        this.expressId = expressId;
        this.expressName = expressName;
        this.contact = contact;
        this.phone = phone;
        this.refund = refund;
        this.refundCount = refundCount;
        this.reasons = reasons;
        this.address = address;
        this.offerCount = offerCount;
        this.expiryDate = expiryDate;
        this.type = type;
        this.status = status;
        this.sendStatus = sendStatus;
        this.refundStatus = refundStatus;
        this.buyerDeleteFlag = buyerDeleteFlag;
        this.sellerDeleteFlag = sellerDeleteFlag;
        this.updated = updated;
        this.created = created;
    }


    public Orders() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId == null ? null : uId.trim();
    }

    public String getaId() {
        return aId;
    }

    public void setaId(String aId) {
        this.aId = aId == null ? null : aId.trim();
    }



    public String getExpressId() {
        return expressId;
    }

    public void setExpressId(String expressId) {
        this.expressId = expressId;
    }

    public String getExpressName() {
        return expressName;
    }

    public void setExpressName(String expressName) {
        this.expressName = expressName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDonationId() {
        return donationId;
    }

    public void setDonationId(String donationId) {
        this.donationId = donationId;
    }

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId == null ? null : tId.trim();
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getOfferCount() {
        return offerCount;
    }

    public void setOfferCount(Integer offerCount) {
        this.offerCount = offerCount;
    }

    public BigDecimal getDonationAmount() {
        return donationAmount;
    }

    public void setDonationAmount(BigDecimal donationAmount) {
        this.donationAmount = donationAmount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Integer getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Integer sendStatus) {
        this.sendStatus = sendStatus;
    }

    public Integer getBuyerDeleteFlag() {
        return buyerDeleteFlag;
    }

    public void setBuyerDeleteFlag(Integer buyerDeleteFlag) {
        this.buyerDeleteFlag = buyerDeleteFlag;
    }

    public Integer getSellerDeleteFlag() {
        return sellerDeleteFlag;
    }

    public void setSellerDeleteFlag(Integer sellerDeleteFlag) {
        this.sellerDeleteFlag = sellerDeleteFlag;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public BigDecimal getRefund() {
        return refund;
    }

    public void setRefund(BigDecimal refund) {
        this.refund = refund;
    }

    public Integer getRefundCount() {
        return refundCount;
    }

    public void setRefundCount(Integer refundCount) {
        this.refundCount = refundCount;
    }

    public List<String> getReasons() {
        return reasons;
    }

    public void setReasons(List<String> reasons) {
        this.reasons = reasons;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Date expiryDate) {
        this.expiryDate = expiryDate;
    }

    public Advertisement getAdvertisement() {
        return advertisement;
    }

    public void setAdvertisement(Advertisement advertisement) {
        this.advertisement = advertisement;
    }

    public Topic getTopic() {
        return topic;
    }

    public void setTopic(Topic topic) {
        this.topic = topic;
    }

}